
const blog = require('../controller/blog.js')

var routers = require("koa-router")
const router = new routers()




router.get("/", blog.send)
router.post("/post", blog.sendcont)

router.get('/getuserinfo',blog.getuserinfo)

router.get('/page',blog.page)

router.get('/blogart',blog.blogart)
router.post('/comment',blog.comment)
router.post('/sendfm',blog.sendfm)

router.post('/delblog',blog.delblog)

router.get('/wx',blog.wx)
router.get('/oauth',blog.oauth)
module.exports = router